package com.bgy.geek.service.impl;

import com.bgy.geek.dao.TbStatisticsDao;
import com.bgy.geek.dto.CalcEffeDTO;
import com.bgy.geek.dto.ProjSourceSummaryDTO;
import com.bgy.geek.entity.ProjSourceDetailQuery;
import com.bgy.geek.vo.CalcEffeVO;
import com.bgy.geek.vo.ProjSourceSummaryVO;
import com.bgy.geek.service.TbStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenshuangrui
 * @date 2021/10/22
 * @note
 */
@Service
public class TbStatisticsServiceImpl implements TbStatisticsService {

	@Autowired
	private TbStatisticsDao tbStatisticsDao;
	@Override
	public List<ProjSourceSummaryVO> findProjSourceDetail(ProjSourceDetailQuery psd) {
		List<ProjSourceSummaryVO> detail = tbStatisticsDao.findProjSourceDetail(psd);
		return detail;
	}

	@Override
	public List<ProjSourceSummaryVO> findProjSourceSummary(ProjSourceSummaryDTO pss) {
		List<ProjSourceSummaryVO> detail = tbStatisticsDao.findProjSourceSummary(pss);
		return detail;
	}

	@Override
	public List<CalcEffeVO> calcEffe(CalcEffeDTO ce) {
		List<CalcEffeVO> detail = tbStatisticsDao.queryEffe(ce);
		return detail;

	}
}
